home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 23.zip
/
BS1 part 23
/
Prof page II type.adf
/
Install
/
CreateDisk
< prev
next >
Wrap
AmigaDOS Script File
|
1990-08-10
|
3KB
|
101 lines
.KEY dest/A
.BRA {
.KET }
if not $GDIHaveAnswers eq "yes"
echo >ENV:GDIHaveAnswers noline "yes"
instutil -eGDICopyCGT ask -o -dy " Will this diskette be used with either PPage or PageSetterII [Y/N]? Y"
if warn
instutil -eGDICopyCGTII ask -o -dy " Will this diskette be used with Office Page [Y/N]? Y"
endif
instutil -eGDICopyCF ask -o -dn " Do you want the CreateFont utility on this diskette [Y/N]? N"
instutil -eGDICopyDL ask -o -dn " Do you want the Download utility on this diskette [Y/N]? N"
endif
echo "*N~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*N"
echo " Please insert a blank diskette into drive {dest}."
echo ""
echo " WARNING: If you answer *"Yes*" to the following question, the diskette"
echo " in drive {dest} will be completely erased. Please ensure"
echo " that this diskette does not contain any important files."
echo ""
instutil ask -f -dn "OK to erase diskette in {dest} [Y/N]? N"
if warn
skip CreateAbort
endif
failat 21
lab CreateFormat
echo " "
format drive "{dest}" name "ExtraFonts" noicons quick
if error
format <NIL: drive "{dest}" name "ExtraFonts" noicons
if error
echo "*E[;33m*NThe diskette could not be formatted.*N*E[m"
echo "Insert another diskette into {dest} and hit RETURN,"
instutil ask -f -dy "or type N to abort: "
if warn
skip CreateAbort
endif
skip back CreateFormat
endif
endif
failat 10
assign GD_Dest: "{dest}"
echo "*N Copying utility files"
execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:cg.chardata GD_Dest:cg.chardata " cg.chardata" "installed"
execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:psfont.alias GD_Dest:psfont.alias " psfont.alias" "installed"
if "$GDIInstallType" eq "floppy"
execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:Install/Use_This_Disk GD_Dest:Use_This_Disk " Use_This_Disk" "installed"
execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:Install/Use_This_Disk.info GD_Dest:Use_This_Disk.info " Use_This_Disk.info" "installed"
endif
if $GDICopyCGT eq "yes"
execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:CGT GD_Dest:CGT " CGT" "installed"
endif
if $GDICopyCGTII eq "yes"
execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:CGTII GD_Dest:CGTII " CGTII" "installed"
endif
if $GDICopyCF eq "yes"
execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:CreateFont GD_Dest:CreateFont " CreateFont" "installed"
endif
if $GDICopyDL eq "yes"
execute GD_SourceDisk:Install/RamCopy GD_SourceDisk:Download GD_Dest:Download " Download" "installed"
endif
makedir GD_Dest:CGCache
makedir GD_Dest:PS
skip CreateOK
lab CreateAbort
echo "*E[;33m Aborting. The diskette has not been modified.*E[m"
lab CreateOK